From: Steven G. Johnson Date: Fri, 18 Jul 2014 16:12:19 +0000 (-0400) Subject: Merge pull request #9 from JuliaLang/cjh/markdata X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~24^2^2~241 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a5aeb49e2081f182788524dd5821ac0438af59f8;p=utf8proc.git Merge pull request #9 from JuliaLang/cjh/markdata Update data tables to Unicode 7.0.0 --- a5aeb49e2081f182788524dd5821ac0438af59f8 diff --cc Makefile index 60f0423,523bb16..a9d1aaa --- a/Makefile +++ b/Makefile @@@ -1,5 -1,7 +1,7 @@@ -# libutf8proc Makefile +# libmojibake Makefile + CURL=curl + RUBY=ruby # settings @@@ -11,13 -13,31 +13,31 @@@ AR = a all: c-library -c-library: libutf8proc.a libutf8proc.so +c-library: libmojibake.a libmojibake.so clean: - rm -f utf8proc.o libutf8proc.a libutf8proc.so + rm -f utf8proc.o libmojibake.a libmojibake.so + update: utf8proc_data.c.new + # real targets + utf8proc_data.c.new: UnicodeData.txt DerivedCoreProperties.txt CompositionExclusions.txt CaseFolding.txt + $(RUBY) data_generator.rb < UnicodeData.txt > utf8proc_data.c.new + + UnicodeData.txt: + $(CURL) -O http://www.unicode.org/Public/UNIDATA/UnicodeData.txt + + DerivedCoreProperties.txt: + $(CURL) -O http://www.unicode.org/Public/UNIDATA/DerivedCoreProperties.txt + + CompositionExclusions.txt: + $(CURL) -O http://www.unicode.org/Public/UNIDATA/CompositionExclusions.txt + + CaseFolding.txt: + $(CURL) -O http://www.unicode.org/Public/UNIDATA/CaseFolding.txt + + utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c $(cc) -c -o utf8proc.o utf8proc.c